﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace JXT.PrimaryKey.Batman.Core.OAuth
{
    /// <summary>
    /// OAuth认证之Token对象
    /// </summary>
    [DataContract]
    public class OAuthToken
    {
        /// <summary>
        /// OAuthId
        /// </summary>
        [DataMember]
        public int OAuthId { get; set; }

        /// <summary>
        /// Token
        /// </summary>
        [DataMember]
        public string Token { get; set; }

        /// <summary>
        /// TokenSecret
        /// </summary>
        [DataMember]
        public string TokenSecret { get; set; }

        /// <summary>
        /// Verifier
        /// </summary>
        [DataMember]
        public string Verifier { get; set; }

        /// <summary>
        /// 用户标识
        /// </summary>
        [DataMember]
        public string UserId { get; set; }
    }
}
